package com.itdaan.portal.business.domain;
import java.io.Serializable;

/**
 * @author www.itdaan.com
 */
@SuppressWarnings("serial")
public class Comment extends BaseDomain implements Serializable {

	public final static int AUDIT_TODO = 0;//待审核
	public final static int AUDIT_OK = 1;//审核通过
	public final static int AUDIT_REJECT = 2;//审核拒绝
	
	/**自增ID字段**/
	private Integer id;

	/**内容ID**/
	private Integer postId;

	/**评论内容**/
	private String comment;

	/**用户ID**/
	private Integer userId;

	/**用户名**/
	private String name;

	/**头像**/
	private String avatar;

	/**更新时间**/
	private java.util.Date updateDate;

	/**楼层**/
	private Integer floor;

	/**0 待审核 1 审核通过 2 审核拒绝**/
	private Integer audit;

	/**审核内容**/
	private String auditContent;

	/**审核人ID**/
	private Integer auditUserId;

	/**审核人用户名**/
	private String auditName;



	public void setId(Integer id){
		this.id = id;
	}

	public Integer getId(){
		return this.id;
	}

	public void setPostId(Integer postId){
		this.postId = postId;
	}

	public Integer getPostId(){
		return this.postId;
	}

	public void setComment(String comment){
		this.comment = comment;
	}

	public String getComment(){
		return this.comment;
	}

	public void setUserId(Integer userId){
		this.userId = userId;
	}

	public Integer getUserId(){
		return this.userId;
	}

	public void setName(String name){
		this.name = name;
	}

	public String getName(){
		return this.name;
	}

	public void setAvatar(String avatar){
		this.avatar = avatar;
	}

	public String getAvatar(){
		return this.avatar;
	}

	public void setUpdateDate(java.util.Date updateDate){
		this.updateDate = updateDate;
	}

	public java.util.Date getUpdateDate(){
		return this.updateDate;
	}

	public void setFloor(Integer floor){
		this.floor = floor;
	}

	public Integer getFloor(){
		return this.floor;
	}

	public void setAudit(Integer audit){
		this.audit = audit;
	}

	public Integer getAudit(){
		return this.audit;
	}

	public void setAuditContent(String auditContent){
		this.auditContent = auditContent;
	}

	public String getAuditContent(){
		return this.auditContent;
	}

	public void setAuditUserId(Integer auditUserId){
		this.auditUserId = auditUserId;
	}

	public Integer getAuditUserId(){
		return this.auditUserId;
	}

	public void setAuditName(String auditName){
		this.auditName = auditName;
	}

	public String getAuditName(){
		return this.auditName;
	}

}
